﻿using System;
using System.Collections.Generic;

namespace Sidvall.Data
{
    public class BusinessRulePropertyEventArgs : EventArgs
    {
        #region Public Members

        #region PropertyNames

        private List<string> _PropertyNames;
        public List<string> PropertyNames
        {
            get
            {
                if (_PropertyNames == null)
                    _PropertyNames = new List<string>();
                return _PropertyNames;
            }
        }

        #endregion

        #endregion
        #region Constructors

        public BusinessRulePropertyEventArgs(IEnumerable<string> propertyNames)
        {
            this.PropertyNames.AddRange(propertyNames);
        }

        #endregion
    }
}
